import requests, pprint

from requests.sessions import session

url = 'http://127.0.0.1:8210/api/sign'
body = {
    "action" : "signin",
    "username": "bianque",
    "password": "11111111"
}

session = requests.session()
res = session.post(url, json=body)
# print(session.cookies['sessionid'])
pprint.pprint(res.json(), sort_dicts=0)